
// 框架的入口

const {VM} = require("vm2");
const fs = require("fs");





const vm = new VM({
    sandbox: {}
});

let code = "debugger;" // 便于调试
// 加载框架代码
code += fs.readFileSync("./env/bom/screen.js", "utf-8")
code += fs.readFileSync("./work/work.js", "utf-8")
console.log(vm.run(code));